#include "Common.hpp"
#include "Client.hpp"

int main()
{
    Client cl;
    cl.OpenforWrite();
    std::string str;
    while(true)
    {
        std::cout << "Please Enter# ";
        std::cin >> str;
        if(!cl.Wirtepipe(str))
            break;
    }
    cl.ClosePipe();
    return 0;
}